package com.easy_helth.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 菜品
 */
@Data
public class Sport implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;


    //运动名称
    private String name;


    //运动分类id
    private Integer categoryId;

    //每小时消耗能量
    private Integer calories;

    //图片
    private String image;

    //视频
    private String video;


    //0 停止展现 1 允许展现
    private Integer status;


    //顺序
    private Integer sort;

//    运动描述
    private String description;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;


    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


    //是否删除
    private Integer isDeleted;

}
